// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "Share",
    products: [
        // Products define the executables and libraries a package produces, making them visible to other packages.
        .library(
            name: "Share",
            targets: ["Share"]),
    ],
    targets: [
        // Targets are the basic building blocks of a package, defining a module or a test suite.
        // Targets can depend on other targets in this package and products from dependencies.
        .target(
            name: "Share",
            dependencies: ["shared"]
        ),
        .testTarget(
            name: "ShareTests",
            dependencies: ["Share"]),
        .binaryTarget(
            name: "shared",
            url: "https://artifactory.tools.adidas.com.cn/artifactory/Flagship-android/XCFramework/0.0.2/shared.xcframework.zip",
            checksum: "36856de96a4270e4be307286d7e40b1517647d4c8cbb02facd3b0102bf4a188d"
        ),
    ]
)
